home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / blankery / blanker / source / blankers / puzzle / defaults.c < prev    next >
C/C++ Source or Header  |  1993-08-01  |  372b  |  20 lines

  1. #include <exec/types.h>
  2. #include <intuition/intuition.h>
  3. #include "/defs.h"
  4. #include "/utility.h"
  5.  
  6. struct pPrefObject {
  7.     ULONG Horiz, Vert;
  8. };
  9.  
  10. VOID defaults( struct bMessage *Msg )
  11. {
  12.     static struct pPrefObject pPO = { 6, 6 };
  13.  
  14.     Msg->bm_Mod = getTopScreenMode();
  15.     Msg->bm_Dep = getTopScreenDepth();
  16.  
  17.     Msg->bm_Info = "Puzzle Module";
  18.     Msg->bm_Data = ( UBYTE * )( &pPO );
  19. }
  20.